		function focusObj(id){
			id.style.backgroundColor="#FFCC80";
		}
		function blurname(id) {
			var name = id.value;
			var namespan=document.getElementById("namespan");
			if(name == ""){
				namespan.innerHTML="*用户名不能为空！";
				return false;
			}
			id.style.backgroundColor="#FFF"
			namespan.innerHTML="√";
			return true;
		}
		function blurpwd(id){
			var pwd = id.value;
			var pwdspan = document.getElementById("pwdspan");
			if(pwd == ""){
				pwdspan.innerHTML = "*密码不能为空！";
				return false;
			}
			if(pwd.length < 6){
				pwdspan.innerHTML = "*密码长度需大于6";
				return false;
			}
			id.style.backgroundColor="#FFF";
			pwdspan.innerHTML = "√";
			return true;
		}
		function blurRePwd(id){
			var repwd = id.value;
			var pwd_2span = document.getElementById("pwd_2span");
			if(repwd != document.getElementById("upwd").value){
				pwd_2span.innerHTML = "两次输入密码不一致，请重新输入！"
				return false;
			}
			id.style.backgroundColor="#FFF";
			pwd_2span.innerHTML = "√";
			return true;
		}
		function blurtel(id) {
			var tel = id.value;
			var reg = /^[1][\d]{10}$/;
			var telspan = document.getElementById("telspan");
			if(!reg.test(tel)){
				telspan.innerHTML = "手机号错误！";
				return false;
			}
			id.style.backgroundColor="#FFF";
			telspan.innerHTML = "√";
			return true;
		}		